//
//  UIView+Category.h
//  FSProject
//
//  Created by 朱慕之 on 2018/12/16.
//  Copyright © 2018 zhumuzhi. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface UIView (Category)

#pragma mark - 圆角

-(void)setViewCornerRadius:(CGFloat)cornerRadius;

#pragma mark - BaseGesture

- (void)addTapAction:(id)target selector:(SEL)selector;

- (void)addLongPressAction:(id)target selector:(SEL)selector;

#pragma mark - Frame

@property (nonatomic, assign) CGFloat x;

@property (nonatomic, assign) CGFloat y;

@property (nonatomic, assign) CGFloat left;

@property (nonatomic, assign) CGFloat top;

@property (nonatomic, assign) CGFloat right;

@property (nonatomic, assign) CGFloat bottom;

@property (nonatomic, assign) CGFloat width;

@property (nonatomic, assign) CGFloat height;

@property (nonatomic, assign) CGFloat centerX;

@property (nonatomic, assign) CGFloat centerY;

@property (nonatomic, assign) CGPoint origin;

@property (nonatomic, assign) CGSize size;

@property (nonatomic, assign) CGFloat max_Y;

@property (nonatomic, assign) CGFloat max_X;




@end

NS_ASSUME_NONNULL_END
